<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Finance/index')}">财务管理</a></li>
        <li class="active"><a href="#A" data-toggle="tab">详情</a></li>
    </ul>
    
    <form method="post" class="form-horizontal margin-top-20">
        <?php if($data['scene'] == 3||$data['scene'] == 4||$data['scene'] == 5){?>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">会员手机号</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.mobile}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">会员等级</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.level}</span>
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">订单号</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.order_no}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">商品名称</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.goods_name}</span>
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">商品价格</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.goods_price}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">商品数量</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.number}</span>
            </div>
        </div>
        <div class="form-group">
                <label for="input-user_login" class="col-sm-2 control-label">支付方式</label>
                <div class="col-md-2 col-sm-10">
                    <span class="form-control" >
                        <?php if($data['payment_type'] == 1){ echo '余额支付';}else if($data['payment_type == 2']){echo '微信支付';}else{ echo '支付宝支付';} ?>
                    </span>
                </div>  
                <label for="input-user_login" class="col-sm-2 control-label">购买时间</label>
                <div class="col-md-2 col-sm-10">
                    <span class="form-control" >{$data.create_time}</span>
                </div>
            </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">总价</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.order_money}</span>
            </div>  
            <?php if($data['scene'] == 3){?>
            <label for="input-user_login" class="col-sm-2 control-label">退款金额</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.money}</span>
            </div> 
            <?php }else if($data['scene'] == 4){ ?>
            <label for="input-user_login" class="col-sm-2 control-label">扣款金额</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.money}</span>
            </div> 
            <?php }else{ ?>
            <label for="input-user_login" class="col-sm-2 control-label">奖励金额</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.money}</span>
            </div> 
            <?php } ?>
        </div>
        <?php }else if($data['scene'] == 2){ ?>
         <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">会员手机号</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.mobile}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">会员等级</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.level}</span>
            </div>
        </div>
         <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">订单号</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.order_sn}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">充值金额</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.money}</span>
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">充值时间</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.create_time}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">充值方式</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.type}</span>
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">交易类型</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >充值</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">交易状态</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" ><?php if($data['status'] == 1){ echo '待支付';}else{ echo '已支付';} ?></span>
            </div>
        </div>
        <?php }else{ ?>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">姓名</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.credit_name}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">手机号码</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.credit_mobile}</span>
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">订单号</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.order_sn}</span>
            </div>
            <label for="input-user_login" class="col-sm-2 control-label">银行卡号</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.credit_num}</span>
            </div>   
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">开户行</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.company}</span>
            </div>
            <label for="input-user_login" class="col-sm-2 control-label">提现金额</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.money}</span>
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">手续费</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.fee_money}</span>
            </div>  
            <label for="input-user_login" class="col-sm-2 control-label">交易类型</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >提现</span>
            </div>  
        </div>
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label">订单状态</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.status}</span>
            </div>
            <label for="input-user_login" class="col-sm-2 control-label">交易时间</label>
            <div class="col-md-2 col-sm-10">
                <span class="form-control" >{$data.create_time}</span>
            </div>  
        </div>
        <?php } ?>
    </form>
    

</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">

</script>
</body>
</html>
